-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save log index #1027
Save log index #1027
Conversation
// 2. Transaction hash (ascending) | ||
return orderBy(requests, ['metadata.blockNumber', 'metadata.transactionHash']); | ||
// 2. Log index (ascending) | ||
// 3. Transaction hash (ascending) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not need transaction hash now, do we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logIndex
seems a lot better than transactionHash
for ordering 😅
This adds request sorting by
logIndex
.